Enyo: Up and Running by Roy Sutton

Enyo: Up and Running by Roy Sutton

Author:Roy Sutton [Sutton, Roy]
Language: eng
Format: epub, pdf
ISBN: 9781449343125
Publisher: O’Reilly Media, Inc.
Published: 2013-04-18T04:00:00+00:00


Tip

Try it out: jsFiddle.

In this sample we used the GitHub API to fetch the list of repositories owned by enyojs, the user account that owns the Enyo repository. In the button’s tap handler we created an Ajax object, populated it with the appropriate API url, and set the callback function for a successful response. We could have passed additional parameters for the service when we called the go() function. In general, we would have trapped error responses by calling ajax.error() with a context and error handling function.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.